<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<%@include file="common/head.jsp"%>
<body>


    <%@include file="common/header.jsp"%>

    <div class="breadcrumbs">
        <div class="container_12">
            <div class="grid_12">
                <a>在线商城</a><span></span><a><c:out value="${list.name}" /></a>
            </div><!-- .grid_12 -->
        </div><!-- .container_12 -->
    </div><!-- .breadcrumbs -->

    <section id="main">
        <div class="container_12">
            <div id="content" class="grid_9">
                <header>
                    <h1 class="page_title"><c:out value="${list.name}" /></h1>
                </header>

                <c:forEach items="${articles}" var="article">
                    <article class="post">
                        <h2><a href="article?articleId=<c:out value="${article.articleId}" />"><c:out value="${article.title}" /></a></h2>
                        <div class="content_article">
                            <p><c:out value="${article.describes}" /></p>
                            <a href="article?articleId=<c:out value="${article.articleId}" />" class="more">学习更多</a>
                        </div><!-- .content_article -->
                        <div class="footer_article">
                            <div class="number_c"><strong><c:out value="${article.commentNumber}" /></strong> 评论</div>
                            <strong>发表时间：<c:out value="${article.dateAdd}" /></strong>
                        </div>
                    </article>
                </c:forEach>

                <div class="clear"></div>

            </div>

            <%@include file="common/sidebar.jsp"%>

        </div>
    </section>
    <div class="clear"></div>

    <%@include file="common/footer.jsp"%>

    <%@include file="common/script.jsp"%>
</body>
</html>

